package com.car.service;

import java.io.IOException;
import java.util.Date;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.ibatis.annotations.Param;

import com.alipay.api.AlipayApiException;
import com.car.entity.Laorder;

public interface LaorderService {
	int count(int userid);
	int counts(@Param("state")int state,@Param("userid")int userid);
	List<Laorder> selectlist(int state,int userid);
    void ali(HttpServletResponse response, HttpServletRequest request,String orderId,Integer money)throws AlipayApiException, IOException;
    int orderadd(Laorder laorders);
    int stateupd(String orderid);
    List<Laorder> selectall();
    List<Laorder> selectstate(@Param("carid")int carid,@Param("state")int state);
    Laorder orderupdsel(int id);
    int stateupd(int id);
}
